.hover-image-show {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
}

.group:hover .hover-image-show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.popup-image {
  position: fixed;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.group:hover .absolute {
  animation: popOut 0.3s ease-out forwards;
}

@keyframes popOut {
  0% {
    transform: scale(0) translateY(10px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

/* 产品卡片动画效果 */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}